{//校区热线上门情况管理模板  针对校区}
<include file="Public:header" />
<load file="__ROOT__/js/datepick/jquery.datepick.css" />
<load file="__ROOT__/js/datepick/jquery.datepick.js" />
<load file="__ROOT__/js/datepick/jquery.datepick-zh-CN.js" />
<script type="text/javascript">
    $(function(){
        $(document).ready(function(){
            $('#begin_day').datepick({dateFormat: 'yy_mm_dd'});
            $('#stop_day').datepick({dateFormat: 'yy_mm_dd'});
        });

        function isNumber(field)
         {
            var   Ret   =   true;
            var   NumStr= "0123456789 ";
            var   chr;
            for   (i=0;i <field.length;++i)
            {
            chr=field.charAt(i);
            if   (NumStr.indexOf(chr,0)==-1)
            {
            Ret=false;
            }
            }
            return(Ret);
        }
    });
</script>
<div class="body">
    <b>校区热线上门情况管理：(本校区上门情况管理)</b><br />提示：本校区前台只能看到自己校区的热线上门记录，任何人都无权删除这些记录。
    <br /><br />
    
    
    <div style="margin-top: 5px;margin-bottom: 5px;">[<a href="{:U('ppts/qt_rexianshangmen_manger')}">统计信息</a>]
        &nbsp;&nbsp;[<a href="{:U('ppts/qt_rexianshangmen_sum_manger?kind=shangmen')}">上门</a>]
        &nbsp;&nbsp;[<a href="{:U('ppts/qt_rexianshangmen_sum_manger?kind=rexian')}">热线</a>]</div>
    <table width="700" border="1" cellpadding="0" cellspacing="0" style="border-collapse:collapse" bordercolor="#000000">
        <tr style="color:blue;font-weight: bold;">
            
            <td width="10%" align="center">来访日期</td>
            <td width="8%" align="center">了解渠道</td>
            <td width="8%" align="center">直访/约访</td>

            <td width="12%" align="center">之前是否来访</td>
            <td width="8%" align="center">是否签约</td>
            
            <td width="10%" align="center">签约金额</td>
            <td width="8%" align="center">咨询师</td>
            <td width="8%" align="center">家长姓名</td>
            <td width="8%" align="center">学生姓名</td>
            <td width="20%" align="center">操&nbsp;&nbsp;&nbsp;&nbsp;作</td>
        </tr>
        <foreach name="list" item="vo">
            <tr>
                <td align="center">{$vo.rs_come_time}</td>
                <td align="center">{$vo.rs_qudao}</td>
                <td align="center">{$vo.rs_fang_kind}</td>

                <td align="center"><php>if($vo['rs_laifang']=='0') echo '否'; else echo '是';</php></td>
                <td align="center">{$vo.rs_nowqianyue}</td>

                <td align="center">{$vo.rs_qianyue_jine}</td>
                <td align="center">{$vo.user_zsname}</td>
                <td align="center">{$vo.rs_stu_jiazhang}</td>
                <td align="center">{$vo.rs_stu_name}</td>
                <td align="center">[<a href="__APP__/ppts-qt_edit_rexianshangmen_info?id={$vo['rs_id']}&kind=shangmen&TB_iframe=true&height=400&width=405" class="thickbox">编辑</a>]
                    &nbsp;&nbsp;[<a href="__APP__/ppts-qt_view_rexianshangmen_info?id={$vo['rs_id']}&kind=shangmen&TB_iframe=true&height=400&width=405" class="thickbox">查看详细</a>]</td>
                
            </tr>
        </foreach>
        <tr>
            <td width="100%" align="right" colspan="10">{$page}</td>
        </tr>
    </table>
    <br />
</div>
<include file="Public:ender" />